procedure GetRelated(dataName : Str255; var relatedData : Str255);

Returns the data which is related to dataName.

Also see:  SetRelated